package com.ktjy.ktmall.entity;

/**
 * 微信用户实体类
 * @version v1.0
 * @Author 郴州科泰
 * @Create 2024-07-27 - 14:12
 */
public class WxUser {
    private Integer id; // 微信用户Id
    private String username;  // 微信用户名称
    private String password; // 用户密码
    private Integer gender;  // 性别：0 未知， 1男， 1 女
    private String birthday; //生日
    private String lastLoginTime; // 最近一次登录时间
    private String lastLoginIp;  // 最近一次登录IP地址
    private Integer userLevel; //  0 普通用户，1 VIP用户，2 高级VIP用户
    private String nickname; //用户昵称或网络名称
    private String mobile; // 用户手机号码(唯一值)
    private String avatar; // 用户头像图片
    private String sessionKey; // 微信登录会话KEY
    private Integer status; // 0 可用, 1 禁用, 2 注销
    private String fullLocation;  // 家庭住址(省市区)
    private String profession;  // 职业
    private String addTime;  // 创建时间
    private String updateTime;// 更新时间
    private Integer deleted;  // 逻辑删除
    private String openId; // 用户的唯一标识
    private String token;  // token令牌

    public WxUser() {  }

    public WxUser(Integer id, String username, Integer gender, String birthday, String nickname, String mobile, String avatar, String fullLocation, String profession) {
        this.id = id;
        this.username = username;
        this.gender = gender;
        this.birthday = birthday;
        this.nickname = nickname;
        this.mobile = mobile;
        this.avatar = avatar;
        this.fullLocation = fullLocation;
        this.profession = profession;
    }

    public WxUser(String username, String password, String lastLoginTime, String lastLoginIp, String nickname, String mobile, String avatar) {
        this.username = username;
        this.password = password;
        this.lastLoginTime = lastLoginTime;
        this.lastLoginIp = lastLoginIp;
        this.nickname = nickname;
        this.mobile = mobile;
        this.avatar = avatar;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getFullLocation() {
        return fullLocation;
    }

    public void setFullLocation(String fullLocation) {
        this.fullLocation = fullLocation;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
